See Original text in context
multi sub trait_mod:<is>(Routine, :!)
Declares that a routine generates test output (aka TAP). When failures are reported, the calling routine's location is used instead of this routine. For example:
use Test;sub foo-test() is test-assertionfoo-test(666); # <-- error is reported on this line